<?php
require '../conf/config.php';
include('../controller/maincontroller.php');
		conndb::getInst()->query("SELECT Meno FROM scitaci_system");
		$data = conndb::getInst()->getRowsAsArrayOfObjects();	
		$pole=array();
		$pole['Meno']=array();
		foreach ($data as $d){
			array_push($pole['Meno'],$d->Meno);
		}
		echo json_encode($pole);
		exit;
?>